.ba-sku-select {
  .sku-info {
    display: flex;
    .sku-image {
      margin-right: 20px;
      /* prettier-ignore */
      border: 1PX solid #f5f5f5;
    }
    .info-bd {
      margin-top: 10px;
      /*  #ifdef  h5  */
      margin-top: 10px;
      /*  #endif  */
    }
  }

  .sale-price {
    @include price(#222, 38px);
  }
  .activity-price {
    @include price(#fff, 38px);
  }
  .discount {
    padding: 6px 12px !important;
  }
  .discount-txt {
    font-size: 28px !important;
    margin-right: 2px !important;
  }


  .goods-sku-txt {
    color: #999;
    max-width: 500px;
    @include text-overflow();
  }

  .sku-list {
    margin-top: 30px;
    margin-bottom: 100px;
  }
  .sku-group {
    margin-bottom: 20px;
  }
  .buy-count {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .label {
      color: #222;
      font-weight: 600;
    }
    .limit-count {
      color: #999;
      font-size: 24px;
      font-weight: normal;
    }
  }
  .sku-name {
    color: #222;
    font-weight: 600;
  }
  .sku-values {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    .spec-name {
      display: block;
    }
  }
  .sku-btn {
    padding: 0 16px;
    background: #f5f5f5;
    /* prettier-ignore */
    border: 1PX solid #f5f5f5;
    border-radius: 4px;
    margin: 0 24px 24px 0;
    color: #222;
    box-sizing: border-box;
    &.sku-img {
      padding: 0;
      // height: 283px;
      height: auto;
      line-height: initial;
      &:nth-child(3n + 3) {
        margin-right: 0;
      }
      .spec-name {
        display: block;
        text-align: center;
        margin: 8px 0;
        max-width: 260px;
        @include text-overflow();
      }
    }
    &.active {
      background: #fff;
      /* prettier-ignore */
      border: 1PX solid var(--color-primary);
      color: var(--color-primary);
    }
    &.disabled {
      color: #cdcdcd;
    }
  }

  // .at-input-number {
  //   /* prettier-ignore */
  //   border: 1PX solid #999;
  //   border-radius: 0;
  //   .at-input-number__input {
  //     width: 60px;
  //     /* prettier-ignore */
  //     border-left: 1PX solid #999;
  //     /* prettier-ignore */
  //     border-right: 1PX solid #999;
  //   }
  //   .at-icon-subtract::before,
  //   .at-icon-add::before {
  //     color: #333;
  //   }
  // }

  .at-input-number {
    border: 1px solid #999;
    border-radius: 0;
    height: 40px;
    &__input {
      border-left: 1px solid #999;
      border-right: 1px solid #999;
      width: 60px;
      height: 32px;
      line-height: 32px;
      font-size: 24px;
      position: relative;
      top: -2px;
      /*  #ifdef  h5  */
      border-left: 1px solid #999;
      border-right: 1px solid #999;
      height: auto;
      top: 0;
      width: 80px;
      /*  #endif  */
    }
    input {
      /*  #ifdef  h5  */
      border: 0;
      /*  #endif  */
    }
    &__btn {
      color: #222;
      padding: 0;
      width: 40px;
    }
    &__btn-subtract {
      font-size: 26px;
    }
    .at-input-number--disabled {
      color: #ccc;
    }
  }

  .toolbar-btns {
    // width: 480px;
    padding-left: 20px;
    box-sizing: border-box;
    position: relative;
    height: 80px;
    .btn-item {
      width: calc(100% - 20px);
      border-radius: 40px;
      height: 80px;
      line-height: 80px;
      text-align: center;
      font-size: 26px;
      box-sizing: border-box;
      position: absolute;
      top: 0;
      bottom: 0;
      .btn-item-txt {
        height: 80px;
        line-height: 80px;
        font-size: 28px;
      }
      &.btn-active {
        /* prettier-ignore */
        border: 1PX solid var(--color-primary);
        background: var(--color-primary);
        color: #fff;
        .btn-item-txt {
          color: #fff;
        }
      }
      &.btn-default {
        /* prettier-ignore */
        border: 1PX solid #E5E5E5;
        color: #444;
      }
      &.btn-disabled {
        /* prettier-ignore */
        border: 1PX solid #E5E5E5;
        background: #e5e5e5;
        color: #8d8d8d;
      }
    }
    &.mutiplte-btn {
      .btn-item {
        width: 58%;
        position: absolute;
        top: 0;
        bottom: 0;
        &:first-child {
          padding-right: 8%;
          left: 0;
        }
        &:last-child {
          right: 0;
        }
      }
    }
  }
}
